"""
URL configuration for _XinYU project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/5.1/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
# from django.contrib import admin
from django.urls import path
from XinYuWIT import views, mentalTest, game,aitalk,treehole

urlpatterns = [
    #    path('admin/', admin.site.urls),
    path('homepage/', views.homepage),
    path('login/', views.login),
    path('logout/', views.logout),
    path('register/', views.register),
    path('home/', views.home),
    path('personalcenter/', views.personal_center),
    path('test/', mentalTest.index),
    path('test/HCL-32/', mentalTest.hcl_32),
    path('test/SAS/', mentalTest.sas),
    path('test/SCL-90/', mentalTest.scl_90),
    path('test/SDS/', mentalTest.sds),
    path('stresspoint/', mentalTest.stresspoint),
    path('test/score/', mentalTest.get_score),
    path('game/', game.index),
    path('game/snake/', game.snake),
    path('game/piano/', game.piano),
    path('aichat/',aitalk.index),
    path('aitalk/',aitalk.chat_api),
    path('treehole/',treehole.tree_hole),
]
